<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>父页面</title>
<link rel="stylesheet" href="css/bootstrap.min.css">  
   <script src="js/jquery.min.js"></script>
   <script src="js/bootstrap.min.js"></script>
   <style>
   	#ParentIframe{ border:none;}
   </style>
</head>
<body>
<div class="container" style="margin-top:50px;">
<iframe id="ParentIframe" src="http://172.25.1.13:6123/index.html" width="1000px;" height="500px;"></iframe>
</div>
<script>
$(function(){
	})
	function goto(a,b){
		window.frames[0].postMessage('getcolor','http://172.25.1.13:6123/');
		}
window.addEventListener('message',function(e){
                if(e.source!=window.parent) return;
                alert(e.data);
            },false);
</script>
</body>
</html>
